package com.ecoolex.chinadutyfree.retailer.entity;

import com.ecoolex.framework.common.annotation.Description;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import org.springframework.lang.NonNull;

public class PaymentOrderExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    protected Integer offset;

    protected Integer rows;

    public PaymentOrderExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public PaymentOrderExample orderBy(String orderByClause) {
        this.setOrderByClause(orderByClause);
        return this;
    }

    public PaymentOrderExample orderBy(String ... orderByClauses) {
        StringBuffer sb = new StringBuffer();
        for (int i = 0; i < orderByClauses.length; i++) {
            sb.append(orderByClauses[i]);
            if (i < orderByClauses.length - 1) {
                sb.append(" , ");
            }
        }
        this.setOrderByClause(sb.toString());
        return this;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria(this);
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
        rows = null;
        offset = null;
    }

    public static Criteria newAndCreateCriteria() {
        PaymentOrderExample example = new PaymentOrderExample();
        return example.createCriteria();
    }

    public PaymentOrderExample when(boolean condition, IExampleWhen then) {
        if (condition) {
            then.example(this);
        }
        return this;
    }

    public PaymentOrderExample when(boolean condition, IExampleWhen then, IExampleWhen otherwise) {
        if (condition) {
            then.example(this);
        } else {
            otherwise.example(this);
        }
        return this;
    }

    public void setOffset(Integer offset) {
        this.offset = offset;
    }

    public Integer getOffset() {
        return this.offset;
    }

    public void setRows(Integer rows) {
        this.rows = rows;
    }

    public Integer getRows() {
        return this.rows;
    }

    public PaymentOrderExample limit(Integer rows) {
        this.rows = rows;
        return this;
    }

    public PaymentOrderExample limit(Integer offset, Integer rows) {
        this.offset = offset;
        this.rows = rows;
        return this;
    }

    public PaymentOrderExample page(Integer page, Integer pageSize) {
        this.offset = page * pageSize;
        this.rows = pageSize;
        return this;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andPaymentOrderIdIsNull() {
            addCriterion("paymentorder.PaymentOrderId is null");
            return (Criteria) this;
        }

        public Criteria andPaymentOrderIdIsNotNull() {
            addCriterion("paymentorder.PaymentOrderId is not null");
            return (Criteria) this;
        }

        public Criteria andPaymentOrderIdEqualTo(Integer value) {
            addCriterion("paymentorder.PaymentOrderId =", value, "paymentOrderId");
            return (Criteria) this;
        }

        public Criteria andPaymentOrderIdEqualToColumn(PaymentOrder.Column column) {
            addCriterion(new StringBuilder("paymentorder.PaymentOrderId = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPaymentOrderIdNotEqualTo(Integer value) {
            addCriterion("paymentorder.PaymentOrderId <>", value, "paymentOrderId");
            return (Criteria) this;
        }

        public Criteria andPaymentOrderIdNotEqualToColumn(PaymentOrder.Column column) {
            addCriterion(new StringBuilder("paymentorder.PaymentOrderId <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPaymentOrderIdGreaterThan(Integer value) {
            addCriterion("paymentorder.PaymentOrderId >", value, "paymentOrderId");
            return (Criteria) this;
        }

        public Criteria andPaymentOrderIdGreaterThanColumn(PaymentOrder.Column column) {
            addCriterion(new StringBuilder("paymentorder.PaymentOrderId > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPaymentOrderIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("paymentorder.PaymentOrderId >=", value, "paymentOrderId");
            return (Criteria) this;
        }

        public Criteria andPaymentOrderIdGreaterThanOrEqualToColumn(PaymentOrder.Column column) {
            addCriterion(new StringBuilder("paymentorder.PaymentOrderId >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPaymentOrderIdLessThan(Integer value) {
            addCriterion("paymentorder.PaymentOrderId <", value, "paymentOrderId");
            return (Criteria) this;
        }

        public Criteria andPaymentOrderIdLessThanColumn(PaymentOrder.Column column) {
            addCriterion(new StringBuilder("paymentorder.PaymentOrderId < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPaymentOrderIdLessThanOrEqualTo(Integer value) {
            addCriterion("paymentorder.PaymentOrderId <=", value, "paymentOrderId");
            return (Criteria) this;
        }

        public Criteria andPaymentOrderIdLessThanOrEqualToColumn(PaymentOrder.Column column) {
            addCriterion(new StringBuilder("paymentorder.PaymentOrderId <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPaymentOrderIdIn(List<Integer> values) {
            addCriterion("paymentorder.PaymentOrderId in", values, "paymentOrderId");
            return (Criteria) this;
        }

        public Criteria andPaymentOrderIdNotIn(List<Integer> values) {
            addCriterion("paymentorder.PaymentOrderId not in", values, "paymentOrderId");
            return (Criteria) this;
        }

        public Criteria andPaymentOrderIdBetween(Integer value1, Integer value2) {
            addCriterion("paymentorder.PaymentOrderId between", value1, value2, "paymentOrderId");
            return (Criteria) this;
        }

        public Criteria andPaymentOrderIdNotBetween(Integer value1, Integer value2) {
            addCriterion("paymentorder.PaymentOrderId not between", value1, value2, "paymentOrderId");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNull() {
            addCriterion("paymentorder.UserId is null");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNotNull() {
            addCriterion("paymentorder.UserId is not null");
            return (Criteria) this;
        }

        public Criteria andUserIdEqualTo(Integer value) {
            addCriterion("paymentorder.UserId =", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdEqualToColumn(PaymentOrder.Column column) {
            addCriterion(new StringBuilder("paymentorder.UserId = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUserIdNotEqualTo(Integer value) {
            addCriterion("paymentorder.UserId <>", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotEqualToColumn(PaymentOrder.Column column) {
            addCriterion(new StringBuilder("paymentorder.UserId <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThan(Integer value) {
            addCriterion("paymentorder.UserId >", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThanColumn(PaymentOrder.Column column) {
            addCriterion(new StringBuilder("paymentorder.UserId > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("paymentorder.UserId >=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThanOrEqualToColumn(PaymentOrder.Column column) {
            addCriterion(new StringBuilder("paymentorder.UserId >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUserIdLessThan(Integer value) {
            addCriterion("paymentorder.UserId <", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThanColumn(PaymentOrder.Column column) {
            addCriterion(new StringBuilder("paymentorder.UserId < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUserIdLessThanOrEqualTo(Integer value) {
            addCriterion("paymentorder.UserId <=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThanOrEqualToColumn(PaymentOrder.Column column) {
            addCriterion(new StringBuilder("paymentorder.UserId <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUserIdIn(List<Integer> values) {
            addCriterion("paymentorder.UserId in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotIn(List<Integer> values) {
            addCriterion("paymentorder.UserId not in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdBetween(Integer value1, Integer value2) {
            addCriterion("paymentorder.UserId between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotBetween(Integer value1, Integer value2) {
            addCriterion("paymentorder.UserId not between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andPaymentTypeIsNull() {
            addCriterion("paymentorder.PaymentType is null");
            return (Criteria) this;
        }

        public Criteria andPaymentTypeIsNotNull() {
            addCriterion("paymentorder.PaymentType is not null");
            return (Criteria) this;
        }

        public Criteria andPaymentTypeEqualTo(String value) {
            addCriterion("paymentorder.PaymentType =", value, "paymentType");
            return (Criteria) this;
        }

        public Criteria andPaymentTypeEqualToColumn(PaymentOrder.Column column) {
            addCriterion(new StringBuilder("paymentorder.PaymentType = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPaymentTypeNotEqualTo(String value) {
            addCriterion("paymentorder.PaymentType <>", value, "paymentType");
            return (Criteria) this;
        }

        public Criteria andPaymentTypeNotEqualToColumn(PaymentOrder.Column column) {
            addCriterion(new StringBuilder("paymentorder.PaymentType <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPaymentTypeGreaterThan(String value) {
            addCriterion("paymentorder.PaymentType >", value, "paymentType");
            return (Criteria) this;
        }

        public Criteria andPaymentTypeGreaterThanColumn(PaymentOrder.Column column) {
            addCriterion(new StringBuilder("paymentorder.PaymentType > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPaymentTypeGreaterThanOrEqualTo(String value) {
            addCriterion("paymentorder.PaymentType >=", value, "paymentType");
            return (Criteria) this;
        }

        public Criteria andPaymentTypeGreaterThanOrEqualToColumn(PaymentOrder.Column column) {
            addCriterion(new StringBuilder("paymentorder.PaymentType >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPaymentTypeLessThan(String value) {
            addCriterion("paymentorder.PaymentType <", value, "paymentType");
            return (Criteria) this;
        }

        public Criteria andPaymentTypeLessThanColumn(PaymentOrder.Column column) {
            addCriterion(new StringBuilder("paymentorder.PaymentType < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPaymentTypeLessThanOrEqualTo(String value) {
            addCriterion("paymentorder.PaymentType <=", value, "paymentType");
            return (Criteria) this;
        }

        public Criteria andPaymentTypeLessThanOrEqualToColumn(PaymentOrder.Column column) {
            addCriterion(new StringBuilder("paymentorder.PaymentType <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPaymentTypeLike(String value) {
            addCriterion("paymentorder.PaymentType like", value, "paymentType");
            return (Criteria) this;
        }

        public Criteria andPaymentTypeNotLike(String value) {
            addCriterion("paymentorder.PaymentType not like", value, "paymentType");
            return (Criteria) this;
        }

        public Criteria andPaymentTypeIn(List<String> values) {
            addCriterion("paymentorder.PaymentType in", values, "paymentType");
            return (Criteria) this;
        }

        public Criteria andPaymentTypeNotIn(List<String> values) {
            addCriterion("paymentorder.PaymentType not in", values, "paymentType");
            return (Criteria) this;
        }

        public Criteria andPaymentTypeBetween(String value1, String value2) {
            addCriterion("paymentorder.PaymentType between", value1, value2, "paymentType");
            return (Criteria) this;
        }

        public Criteria andPaymentTypeNotBetween(String value1, String value2) {
            addCriterion("paymentorder.PaymentType not between", value1, value2, "paymentType");
            return (Criteria) this;
        }

        public Criteria andBizTypeIsNull() {
            addCriterion("paymentorder.BizType is null");
            return (Criteria) this;
        }

        public Criteria andBizTypeIsNotNull() {
            addCriterion("paymentorder.BizType is not null");
            return (Criteria) this;
        }

        public Criteria andBizTypeEqualTo(String value) {
            addCriterion("paymentorder.BizType =", value, "bizType");
            return (Criteria) this;
        }

        public Criteria andBizTypeEqualToColumn(PaymentOrder.Column column) {
            addCriterion(new StringBuilder("paymentorder.BizType = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andBizTypeNotEqualTo(String value) {
            addCriterion("paymentorder.BizType <>", value, "bizType");
            return (Criteria) this;
        }

        public Criteria andBizTypeNotEqualToColumn(PaymentOrder.Column column) {
            addCriterion(new StringBuilder("paymentorder.BizType <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andBizTypeGreaterThan(String value) {
            addCriterion("paymentorder.BizType >", value, "bizType");
            return (Criteria) this;
        }

        public Criteria andBizTypeGreaterThanColumn(PaymentOrder.Column column) {
            addCriterion(new StringBuilder("paymentorder.BizType > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andBizTypeGreaterThanOrEqualTo(String value) {
            addCriterion("paymentorder.BizType >=", value, "bizType");
            return (Criteria) this;
        }

        public Criteria andBizTypeGreaterThanOrEqualToColumn(PaymentOrder.Column column) {
            addCriterion(new StringBuilder("paymentorder.BizType >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andBizTypeLessThan(String value) {
            addCriterion("paymentorder.BizType <", value, "bizType");
            return (Criteria) this;
        }

        public Criteria andBizTypeLessThanColumn(PaymentOrder.Column column) {
            addCriterion(new StringBuilder("paymentorder.BizType < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andBizTypeLessThanOrEqualTo(String value) {
            addCriterion("paymentorder.BizType <=", value, "bizType");
            return (Criteria) this;
        }

        public Criteria andBizTypeLessThanOrEqualToColumn(PaymentOrder.Column column) {
            addCriterion(new StringBuilder("paymentorder.BizType <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andBizTypeLike(String value) {
            addCriterion("paymentorder.BizType like", value, "bizType");
            return (Criteria) this;
        }

        public Criteria andBizTypeNotLike(String value) {
            addCriterion("paymentorder.BizType not like", value, "bizType");
            return (Criteria) this;
        }

        public Criteria andBizTypeIn(List<String> values) {
            addCriterion("paymentorder.BizType in", values, "bizType");
            return (Criteria) this;
        }

        public Criteria andBizTypeNotIn(List<String> values) {
            addCriterion("paymentorder.BizType not in", values, "bizType");
            return (Criteria) this;
        }

        public Criteria andBizTypeBetween(String value1, String value2) {
            addCriterion("paymentorder.BizType between", value1, value2, "bizType");
            return (Criteria) this;
        }

        public Criteria andBizTypeNotBetween(String value1, String value2) {
            addCriterion("paymentorder.BizType not between", value1, value2, "bizType");
            return (Criteria) this;
        }

        public Criteria andOrderNoIsNull() {
            addCriterion("paymentorder.OrderNo is null");
            return (Criteria) this;
        }

        public Criteria andOrderNoIsNotNull() {
            addCriterion("paymentorder.OrderNo is not null");
            return (Criteria) this;
        }

        public Criteria andOrderNoEqualTo(String value) {
            addCriterion("paymentorder.OrderNo =", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoEqualToColumn(PaymentOrder.Column column) {
            addCriterion(new StringBuilder("paymentorder.OrderNo = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOrderNoNotEqualTo(String value) {
            addCriterion("paymentorder.OrderNo <>", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoNotEqualToColumn(PaymentOrder.Column column) {
            addCriterion(new StringBuilder("paymentorder.OrderNo <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOrderNoGreaterThan(String value) {
            addCriterion("paymentorder.OrderNo >", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoGreaterThanColumn(PaymentOrder.Column column) {
            addCriterion(new StringBuilder("paymentorder.OrderNo > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOrderNoGreaterThanOrEqualTo(String value) {
            addCriterion("paymentorder.OrderNo >=", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoGreaterThanOrEqualToColumn(PaymentOrder.Column column) {
            addCriterion(new StringBuilder("paymentorder.OrderNo >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOrderNoLessThan(String value) {
            addCriterion("paymentorder.OrderNo <", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoLessThanColumn(PaymentOrder.Column column) {
            addCriterion(new StringBuilder("paymentorder.OrderNo < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOrderNoLessThanOrEqualTo(String value) {
            addCriterion("paymentorder.OrderNo <=", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoLessThanOrEqualToColumn(PaymentOrder.Column column) {
            addCriterion(new StringBuilder("paymentorder.OrderNo <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOrderNoLike(String value) {
            addCriterion("paymentorder.OrderNo like", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoNotLike(String value) {
            addCriterion("paymentorder.OrderNo not like", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoIn(List<String> values) {
            addCriterion("paymentorder.OrderNo in", values, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoNotIn(List<String> values) {
            addCriterion("paymentorder.OrderNo not in", values, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoBetween(String value1, String value2) {
            addCriterion("paymentorder.OrderNo between", value1, value2, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoNotBetween(String value1, String value2) {
            addCriterion("paymentorder.OrderNo not between", value1, value2, "orderNo");
            return (Criteria) this;
        }

        public Criteria andRefundOrderNoIsNull() {
            addCriterion("paymentorder.RefundOrderNo is null");
            return (Criteria) this;
        }

        public Criteria andRefundOrderNoIsNotNull() {
            addCriterion("paymentorder.RefundOrderNo is not null");
            return (Criteria) this;
        }

        public Criteria andRefundOrderNoEqualTo(String value) {
            addCriterion("paymentorder.RefundOrderNo =", value, "refundOrderNo");
            return (Criteria) this;
        }

        public Criteria andRefundOrderNoEqualToColumn(PaymentOrder.Column column) {
            addCriterion(new StringBuilder("paymentorder.RefundOrderNo = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andRefundOrderNoNotEqualTo(String value) {
            addCriterion("paymentorder.RefundOrderNo <>", value, "refundOrderNo");
            return (Criteria) this;
        }

        public Criteria andRefundOrderNoNotEqualToColumn(PaymentOrder.Column column) {
            addCriterion(new StringBuilder("paymentorder.RefundOrderNo <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andRefundOrderNoGreaterThan(String value) {
            addCriterion("paymentorder.RefundOrderNo >", value, "refundOrderNo");
            return (Criteria) this;
        }

        public Criteria andRefundOrderNoGreaterThanColumn(PaymentOrder.Column column) {
            addCriterion(new StringBuilder("paymentorder.RefundOrderNo > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andRefundOrderNoGreaterThanOrEqualTo(String value) {
            addCriterion("paymentorder.RefundOrderNo >=", value, "refundOrderNo");
            return (Criteria) this;
        }

        public Criteria andRefundOrderNoGreaterThanOrEqualToColumn(PaymentOrder.Column column) {
            addCriterion(new StringBuilder("paymentorder.RefundOrderNo >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andRefundOrderNoLessThan(String value) {
            addCriterion("paymentorder.RefundOrderNo <", value, "refundOrderNo");
            return (Criteria) this;
        }

        public Criteria andRefundOrderNoLessThanColumn(PaymentOrder.Column column) {
            addCriterion(new StringBuilder("paymentorder.RefundOrderNo < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andRefundOrderNoLessThanOrEqualTo(String value) {
            addCriterion("paymentorder.RefundOrderNo <=", value, "refundOrderNo");
            return (Criteria) this;
        }

        public Criteria andRefundOrderNoLessThanOrEqualToColumn(PaymentOrder.Column column) {
            addCriterion(new StringBuilder("paymentorder.RefundOrderNo <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andRefundOrderNoLike(String value) {
            addCriterion("paymentorder.RefundOrderNo like", value, "refundOrderNo");
            return (Criteria) this;
        }

        public Criteria andRefundOrderNoNotLike(String value) {
            addCriterion("paymentorder.RefundOrderNo not like", value, "refundOrderNo");
            return (Criteria) this;
        }

        public Criteria andRefundOrderNoIn(List<String> values) {
            addCriterion("paymentorder.RefundOrderNo in", values, "refundOrderNo");
            return (Criteria) this;
        }

        public Criteria andRefundOrderNoNotIn(List<String> values) {
            addCriterion("paymentorder.RefundOrderNo not in", values, "refundOrderNo");
            return (Criteria) this;
        }

        public Criteria andRefundOrderNoBetween(String value1, String value2) {
            addCriterion("paymentorder.RefundOrderNo between", value1, value2, "refundOrderNo");
            return (Criteria) this;
        }

        public Criteria andRefundOrderNoNotBetween(String value1, String value2) {
            addCriterion("paymentorder.RefundOrderNo not between", value1, value2, "refundOrderNo");
            return (Criteria) this;
        }

        public Criteria andCurrencyTypeIsNull() {
            addCriterion("paymentorder.CurrencyType is null");
            return (Criteria) this;
        }

        public Criteria andCurrencyTypeIsNotNull() {
            addCriterion("paymentorder.CurrencyType is not null");
            return (Criteria) this;
        }

        public Criteria andCurrencyTypeEqualTo(String value) {
            addCriterion("paymentorder.CurrencyType =", value, "currencyType");
            return (Criteria) this;
        }

        public Criteria andCurrencyTypeEqualToColumn(PaymentOrder.Column column) {
            addCriterion(new StringBuilder("paymentorder.CurrencyType = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCurrencyTypeNotEqualTo(String value) {
            addCriterion("paymentorder.CurrencyType <>", value, "currencyType");
            return (Criteria) this;
        }

        public Criteria andCurrencyTypeNotEqualToColumn(PaymentOrder.Column column) {
            addCriterion(new StringBuilder("paymentorder.CurrencyType <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCurrencyTypeGreaterThan(String value) {
            addCriterion("paymentorder.CurrencyType >", value, "currencyType");
            return (Criteria) this;
        }

        public Criteria andCurrencyTypeGreaterThanColumn(PaymentOrder.Column column) {
            addCriterion(new StringBuilder("paymentorder.CurrencyType > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCurrencyTypeGreaterThanOrEqualTo(String value) {
            addCriterion("paymentorder.CurrencyType >=", value, "currencyType");
            return (Criteria) this;
        }

        public Criteria andCurrencyTypeGreaterThanOrEqualToColumn(PaymentOrder.Column column) {
            addCriterion(new StringBuilder("paymentorder.CurrencyType >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCurrencyTypeLessThan(String value) {
            addCriterion("paymentorder.CurrencyType <", value, "currencyType");
            return (Criteria) this;
        }

        public Criteria andCurrencyTypeLessThanColumn(PaymentOrder.Column column) {
            addCriterion(new StringBuilder("paymentorder.CurrencyType < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCurrencyTypeLessThanOrEqualTo(String value) {
            addCriterion("paymentorder.CurrencyType <=", value, "currencyType");
            return (Criteria) this;
        }

        public Criteria andCurrencyTypeLessThanOrEqualToColumn(PaymentOrder.Column column) {
            addCriterion(new StringBuilder("paymentorder.CurrencyType <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCurrencyTypeLike(String value) {
            addCriterion("paymentorder.CurrencyType like", value, "currencyType");
            return (Criteria) this;
        }

        public Criteria andCurrencyTypeNotLike(String value) {
            addCriterion("paymentorder.CurrencyType not like", value, "currencyType");
            return (Criteria) this;
        }

        public Criteria andCurrencyTypeIn(List<String> values) {
            addCriterion("paymentorder.CurrencyType in", values, "currencyType");
            return (Criteria) this;
        }

        public Criteria andCurrencyTypeNotIn(List<String> values) {
            addCriterion("paymentorder.CurrencyType not in", values, "currencyType");
            return (Criteria) this;
        }

        public Criteria andCurrencyTypeBetween(String value1, String value2) {
            addCriterion("paymentorder.CurrencyType between", value1, value2, "currencyType");
            return (Criteria) this;
        }

        public Criteria andCurrencyTypeNotBetween(String value1, String value2) {
            addCriterion("paymentorder.CurrencyType not between", value1, value2, "currencyType");
            return (Criteria) this;
        }

        public Criteria andPaymentPriceIsNull() {
            addCriterion("paymentorder.PaymentPrice is null");
            return (Criteria) this;
        }

        public Criteria andPaymentPriceIsNotNull() {
            addCriterion("paymentorder.PaymentPrice is not null");
            return (Criteria) this;
        }

        public Criteria andPaymentPriceEqualTo(BigDecimal value) {
            addCriterion("paymentorder.PaymentPrice =", value, "paymentPrice");
            return (Criteria) this;
        }

        public Criteria andPaymentPriceEqualToColumn(PaymentOrder.Column column) {
            addCriterion(new StringBuilder("paymentorder.PaymentPrice = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPaymentPriceNotEqualTo(BigDecimal value) {
            addCriterion("paymentorder.PaymentPrice <>", value, "paymentPrice");
            return (Criteria) this;
        }

        public Criteria andPaymentPriceNotEqualToColumn(PaymentOrder.Column column) {
            addCriterion(new StringBuilder("paymentorder.PaymentPrice <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPaymentPriceGreaterThan(BigDecimal value) {
            addCriterion("paymentorder.PaymentPrice >", value, "paymentPrice");
            return (Criteria) this;
        }

        public Criteria andPaymentPriceGreaterThanColumn(PaymentOrder.Column column) {
            addCriterion(new StringBuilder("paymentorder.PaymentPrice > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPaymentPriceGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("paymentorder.PaymentPrice >=", value, "paymentPrice");
            return (Criteria) this;
        }

        public Criteria andPaymentPriceGreaterThanOrEqualToColumn(PaymentOrder.Column column) {
            addCriterion(new StringBuilder("paymentorder.PaymentPrice >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPaymentPriceLessThan(BigDecimal value) {
            addCriterion("paymentorder.PaymentPrice <", value, "paymentPrice");
            return (Criteria) this;
        }

        public Criteria andPaymentPriceLessThanColumn(PaymentOrder.Column column) {
            addCriterion(new StringBuilder("paymentorder.PaymentPrice < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPaymentPriceLessThanOrEqualTo(BigDecimal value) {
            addCriterion("paymentorder.PaymentPrice <=", value, "paymentPrice");
            return (Criteria) this;
        }

        public Criteria andPaymentPriceLessThanOrEqualToColumn(PaymentOrder.Column column) {
            addCriterion(new StringBuilder("paymentorder.PaymentPrice <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPaymentPriceIn(List<BigDecimal> values) {
            addCriterion("paymentorder.PaymentPrice in", values, "paymentPrice");
            return (Criteria) this;
        }

        public Criteria andPaymentPriceNotIn(List<BigDecimal> values) {
            addCriterion("paymentorder.PaymentPrice not in", values, "paymentPrice");
            return (Criteria) this;
        }

        public Criteria andPaymentPriceBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("paymentorder.PaymentPrice between", value1, value2, "paymentPrice");
            return (Criteria) this;
        }

        public Criteria andPaymentPriceNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("paymentorder.PaymentPrice not between", value1, value2, "paymentPrice");
            return (Criteria) this;
        }

        public Criteria andPaymentNoIsNull() {
            addCriterion("paymentorder.PaymentNo is null");
            return (Criteria) this;
        }

        public Criteria andPaymentNoIsNotNull() {
            addCriterion("paymentorder.PaymentNo is not null");
            return (Criteria) this;
        }

        public Criteria andPaymentNoEqualTo(String value) {
            addCriterion("paymentorder.PaymentNo =", value, "paymentNo");
            return (Criteria) this;
        }

        public Criteria andPaymentNoEqualToColumn(PaymentOrder.Column column) {
            addCriterion(new StringBuilder("paymentorder.PaymentNo = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPaymentNoNotEqualTo(String value) {
            addCriterion("paymentorder.PaymentNo <>", value, "paymentNo");
            return (Criteria) this;
        }

        public Criteria andPaymentNoNotEqualToColumn(PaymentOrder.Column column) {
            addCriterion(new StringBuilder("paymentorder.PaymentNo <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPaymentNoGreaterThan(String value) {
            addCriterion("paymentorder.PaymentNo >", value, "paymentNo");
            return (Criteria) this;
        }

        public Criteria andPaymentNoGreaterThanColumn(PaymentOrder.Column column) {
            addCriterion(new StringBuilder("paymentorder.PaymentNo > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPaymentNoGreaterThanOrEqualTo(String value) {
            addCriterion("paymentorder.PaymentNo >=", value, "paymentNo");
            return (Criteria) this;
        }

        public Criteria andPaymentNoGreaterThanOrEqualToColumn(PaymentOrder.Column column) {
            addCriterion(new StringBuilder("paymentorder.PaymentNo >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPaymentNoLessThan(String value) {
            addCriterion("paymentorder.PaymentNo <", value, "paymentNo");
            return (Criteria) this;
        }

        public Criteria andPaymentNoLessThanColumn(PaymentOrder.Column column) {
            addCriterion(new StringBuilder("paymentorder.PaymentNo < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPaymentNoLessThanOrEqualTo(String value) {
            addCriterion("paymentorder.PaymentNo <=", value, "paymentNo");
            return (Criteria) this;
        }

        public Criteria andPaymentNoLessThanOrEqualToColumn(PaymentOrder.Column column) {
            addCriterion(new StringBuilder("paymentorder.PaymentNo <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPaymentNoLike(String value) {
            addCriterion("paymentorder.PaymentNo like", value, "paymentNo");
            return (Criteria) this;
        }

        public Criteria andPaymentNoNotLike(String value) {
            addCriterion("paymentorder.PaymentNo not like", value, "paymentNo");
            return (Criteria) this;
        }

        public Criteria andPaymentNoIn(List<String> values) {
            addCriterion("paymentorder.PaymentNo in", values, "paymentNo");
            return (Criteria) this;
        }

        public Criteria andPaymentNoNotIn(List<String> values) {
            addCriterion("paymentorder.PaymentNo not in", values, "paymentNo");
            return (Criteria) this;
        }

        public Criteria andPaymentNoBetween(String value1, String value2) {
            addCriterion("paymentorder.PaymentNo between", value1, value2, "paymentNo");
            return (Criteria) this;
        }

        public Criteria andPaymentNoNotBetween(String value1, String value2) {
            addCriterion("paymentorder.PaymentNo not between", value1, value2, "paymentNo");
            return (Criteria) this;
        }

        public Criteria andPaymentStartTimeIsNull() {
            addCriterion("paymentorder.paymentStartTime is null");
            return (Criteria) this;
        }

        public Criteria andPaymentStartTimeIsNotNull() {
            addCriterion("paymentorder.paymentStartTime is not null");
            return (Criteria) this;
        }

        public Criteria andPaymentStartTimeEqualTo(Date value) {
            addCriterion("paymentorder.paymentStartTime =", value, "paymentStartTime");
            return (Criteria) this;
        }

        public Criteria andPaymentStartTimeEqualToColumn(PaymentOrder.Column column) {
            addCriterion(new StringBuilder("paymentorder.paymentStartTime = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPaymentStartTimeNotEqualTo(Date value) {
            addCriterion("paymentorder.paymentStartTime <>", value, "paymentStartTime");
            return (Criteria) this;
        }

        public Criteria andPaymentStartTimeNotEqualToColumn(PaymentOrder.Column column) {
            addCriterion(new StringBuilder("paymentorder.paymentStartTime <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPaymentStartTimeGreaterThan(Date value) {
            addCriterion("paymentorder.paymentStartTime >", value, "paymentStartTime");
            return (Criteria) this;
        }

        public Criteria andPaymentStartTimeGreaterThanColumn(PaymentOrder.Column column) {
            addCriterion(new StringBuilder("paymentorder.paymentStartTime > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPaymentStartTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("paymentorder.paymentStartTime >=", value, "paymentStartTime");
            return (Criteria) this;
        }

        public Criteria andPaymentStartTimeGreaterThanOrEqualToColumn(PaymentOrder.Column column) {
            addCriterion(new StringBuilder("paymentorder.paymentStartTime >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPaymentStartTimeLessThan(Date value) {
            addCriterion("paymentorder.paymentStartTime <", value, "paymentStartTime");
            return (Criteria) this;
        }

        public Criteria andPaymentStartTimeLessThanColumn(PaymentOrder.Column column) {
            addCriterion(new StringBuilder("paymentorder.paymentStartTime < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPaymentStartTimeLessThanOrEqualTo(Date value) {
            addCriterion("paymentorder.paymentStartTime <=", value, "paymentStartTime");
            return (Criteria) this;
        }

        public Criteria andPaymentStartTimeLessThanOrEqualToColumn(PaymentOrder.Column column) {
            addCriterion(new StringBuilder("paymentorder.paymentStartTime <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPaymentStartTimeIn(List<Date> values) {
            addCriterion("paymentorder.paymentStartTime in", values, "paymentStartTime");
            return (Criteria) this;
        }

        public Criteria andPaymentStartTimeNotIn(List<Date> values) {
            addCriterion("paymentorder.paymentStartTime not in", values, "paymentStartTime");
            return (Criteria) this;
        }

        public Criteria andPaymentStartTimeBetween(Date value1, Date value2) {
            addCriterion("paymentorder.paymentStartTime between", value1, value2, "paymentStartTime");
            return (Criteria) this;
        }

        public Criteria andPaymentStartTimeNotBetween(Date value1, Date value2) {
            addCriterion("paymentorder.paymentStartTime not between", value1, value2, "paymentStartTime");
            return (Criteria) this;
        }

        public Criteria andPaymentTimeIsNull() {
            addCriterion("paymentorder.PaymentTime is null");
            return (Criteria) this;
        }

        public Criteria andPaymentTimeIsNotNull() {
            addCriterion("paymentorder.PaymentTime is not null");
            return (Criteria) this;
        }

        public Criteria andPaymentTimeEqualTo(Date value) {
            addCriterion("paymentorder.PaymentTime =", value, "paymentTime");
            return (Criteria) this;
        }

        public Criteria andPaymentTimeEqualToColumn(PaymentOrder.Column column) {
            addCriterion(new StringBuilder("paymentorder.PaymentTime = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPaymentTimeNotEqualTo(Date value) {
            addCriterion("paymentorder.PaymentTime <>", value, "paymentTime");
            return (Criteria) this;
        }

        public Criteria andPaymentTimeNotEqualToColumn(PaymentOrder.Column column) {
            addCriterion(new StringBuilder("paymentorder.PaymentTime <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPaymentTimeGreaterThan(Date value) {
            addCriterion("paymentorder.PaymentTime >", value, "paymentTime");
            return (Criteria) this;
        }

        public Criteria andPaymentTimeGreaterThanColumn(PaymentOrder.Column column) {
            addCriterion(new StringBuilder("paymentorder.PaymentTime > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPaymentTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("paymentorder.PaymentTime >=", value, "paymentTime");
            return (Criteria) this;
        }

        public Criteria andPaymentTimeGreaterThanOrEqualToColumn(PaymentOrder.Column column) {
            addCriterion(new StringBuilder("paymentorder.PaymentTime >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPaymentTimeLessThan(Date value) {
            addCriterion("paymentorder.PaymentTime <", value, "paymentTime");
            return (Criteria) this;
        }

        public Criteria andPaymentTimeLessThanColumn(PaymentOrder.Column column) {
            addCriterion(new StringBuilder("paymentorder.PaymentTime < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPaymentTimeLessThanOrEqualTo(Date value) {
            addCriterion("paymentorder.PaymentTime <=", value, "paymentTime");
            return (Criteria) this;
        }

        public Criteria andPaymentTimeLessThanOrEqualToColumn(PaymentOrder.Column column) {
            addCriterion(new StringBuilder("paymentorder.PaymentTime <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPaymentTimeIn(List<Date> values) {
            addCriterion("paymentorder.PaymentTime in", values, "paymentTime");
            return (Criteria) this;
        }

        public Criteria andPaymentTimeNotIn(List<Date> values) {
            addCriterion("paymentorder.PaymentTime not in", values, "paymentTime");
            return (Criteria) this;
        }

        public Criteria andPaymentTimeBetween(Date value1, Date value2) {
            addCriterion("paymentorder.PaymentTime between", value1, value2, "paymentTime");
            return (Criteria) this;
        }

        public Criteria andPaymentTimeNotBetween(Date value1, Date value2) {
            addCriterion("paymentorder.PaymentTime not between", value1, value2, "paymentTime");
            return (Criteria) this;
        }

        public Criteria andPaymentRemarksIsNull() {
            addCriterion("paymentorder.PaymentRemarks is null");
            return (Criteria) this;
        }

        public Criteria andPaymentRemarksIsNotNull() {
            addCriterion("paymentorder.PaymentRemarks is not null");
            return (Criteria) this;
        }

        public Criteria andPaymentRemarksEqualTo(String value) {
            addCriterion("paymentorder.PaymentRemarks =", value, "paymentRemarks");
            return (Criteria) this;
        }

        public Criteria andPaymentRemarksEqualToColumn(PaymentOrder.Column column) {
            addCriterion(new StringBuilder("paymentorder.PaymentRemarks = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPaymentRemarksNotEqualTo(String value) {
            addCriterion("paymentorder.PaymentRemarks <>", value, "paymentRemarks");
            return (Criteria) this;
        }

        public Criteria andPaymentRemarksNotEqualToColumn(PaymentOrder.Column column) {
            addCriterion(new StringBuilder("paymentorder.PaymentRemarks <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPaymentRemarksGreaterThan(String value) {
            addCriterion("paymentorder.PaymentRemarks >", value, "paymentRemarks");
            return (Criteria) this;
        }

        public Criteria andPaymentRemarksGreaterThanColumn(PaymentOrder.Column column) {
            addCriterion(new StringBuilder("paymentorder.PaymentRemarks > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPaymentRemarksGreaterThanOrEqualTo(String value) {
            addCriterion("paymentorder.PaymentRemarks >=", value, "paymentRemarks");
            return (Criteria) this;
        }

        public Criteria andPaymentRemarksGreaterThanOrEqualToColumn(PaymentOrder.Column column) {
            addCriterion(new StringBuilder("paymentorder.PaymentRemarks >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPaymentRemarksLessThan(String value) {
            addCriterion("paymentorder.PaymentRemarks <", value, "paymentRemarks");
            return (Criteria) this;
        }

        public Criteria andPaymentRemarksLessThanColumn(PaymentOrder.Column column) {
            addCriterion(new StringBuilder("paymentorder.PaymentRemarks < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPaymentRemarksLessThanOrEqualTo(String value) {
            addCriterion("paymentorder.PaymentRemarks <=", value, "paymentRemarks");
            return (Criteria) this;
        }

        public Criteria andPaymentRemarksLessThanOrEqualToColumn(PaymentOrder.Column column) {
            addCriterion(new StringBuilder("paymentorder.PaymentRemarks <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPaymentRemarksLike(String value) {
            addCriterion("paymentorder.PaymentRemarks like", value, "paymentRemarks");
            return (Criteria) this;
        }

        public Criteria andPaymentRemarksNotLike(String value) {
            addCriterion("paymentorder.PaymentRemarks not like", value, "paymentRemarks");
            return (Criteria) this;
        }

        public Criteria andPaymentRemarksIn(List<String> values) {
            addCriterion("paymentorder.PaymentRemarks in", values, "paymentRemarks");
            return (Criteria) this;
        }

        public Criteria andPaymentRemarksNotIn(List<String> values) {
            addCriterion("paymentorder.PaymentRemarks not in", values, "paymentRemarks");
            return (Criteria) this;
        }

        public Criteria andPaymentRemarksBetween(String value1, String value2) {
            addCriterion("paymentorder.PaymentRemarks between", value1, value2, "paymentRemarks");
            return (Criteria) this;
        }

        public Criteria andPaymentRemarksNotBetween(String value1, String value2) {
            addCriterion("paymentorder.PaymentRemarks not between", value1, value2, "paymentRemarks");
            return (Criteria) this;
        }

        public Criteria andRefundPriceIsNull() {
            addCriterion("paymentorder.RefundPrice is null");
            return (Criteria) this;
        }

        public Criteria andRefundPriceIsNotNull() {
            addCriterion("paymentorder.RefundPrice is not null");
            return (Criteria) this;
        }

        public Criteria andRefundPriceEqualTo(BigDecimal value) {
            addCriterion("paymentorder.RefundPrice =", value, "refundPrice");
            return (Criteria) this;
        }

        public Criteria andRefundPriceEqualToColumn(PaymentOrder.Column column) {
            addCriterion(new StringBuilder("paymentorder.RefundPrice = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andRefundPriceNotEqualTo(BigDecimal value) {
            addCriterion("paymentorder.RefundPrice <>", value, "refundPrice");
            return (Criteria) this;
        }

        public Criteria andRefundPriceNotEqualToColumn(PaymentOrder.Column column) {
            addCriterion(new StringBuilder("paymentorder.RefundPrice <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andRefundPriceGreaterThan(BigDecimal value) {
            addCriterion("paymentorder.RefundPrice >", value, "refundPrice");
            return (Criteria) this;
        }

        public Criteria andRefundPriceGreaterThanColumn(PaymentOrder.Column column) {
            addCriterion(new StringBuilder("paymentorder.RefundPrice > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andRefundPriceGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("paymentorder.RefundPrice >=", value, "refundPrice");
            return (Criteria) this;
        }

        public Criteria andRefundPriceGreaterThanOrEqualToColumn(PaymentOrder.Column column) {
            addCriterion(new StringBuilder("paymentorder.RefundPrice >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andRefundPriceLessThan(BigDecimal value) {
            addCriterion("paymentorder.RefundPrice <", value, "refundPrice");
            return (Criteria) this;
        }

        public Criteria andRefundPriceLessThanColumn(PaymentOrder.Column column) {
            addCriterion(new StringBuilder("paymentorder.RefundPrice < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andRefundPriceLessThanOrEqualTo(BigDecimal value) {
            addCriterion("paymentorder.RefundPrice <=", value, "refundPrice");
            return (Criteria) this;
        }

        public Criteria andRefundPriceLessThanOrEqualToColumn(PaymentOrder.Column column) {
            addCriterion(new StringBuilder("paymentorder.RefundPrice <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andRefundPriceIn(List<BigDecimal> values) {
            addCriterion("paymentorder.RefundPrice in", values, "refundPrice");
            return (Criteria) this;
        }

        public Criteria andRefundPriceNotIn(List<BigDecimal> values) {
            addCriterion("paymentorder.RefundPrice not in", values, "refundPrice");
            return (Criteria) this;
        }

        public Criteria andRefundPriceBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("paymentorder.RefundPrice between", value1, value2, "refundPrice");
            return (Criteria) this;
        }

        public Criteria andRefundPriceNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("paymentorder.RefundPrice not between", value1, value2, "refundPrice");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("paymentorder.`Status` is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("paymentorder.`Status` is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(Integer value) {
            addCriterion("paymentorder.`Status` =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusEqualToColumn(PaymentOrder.Column column) {
            addCriterion(new StringBuilder("paymentorder.`Status` = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(Integer value) {
            addCriterion("paymentorder.`Status` <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualToColumn(PaymentOrder.Column column) {
            addCriterion(new StringBuilder("paymentorder.`Status` <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(Integer value) {
            addCriterion("paymentorder.`Status` >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanColumn(PaymentOrder.Column column) {
            addCriterion(new StringBuilder("paymentorder.`Status` > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("paymentorder.`Status` >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualToColumn(PaymentOrder.Column column) {
            addCriterion(new StringBuilder("paymentorder.`Status` >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(Integer value) {
            addCriterion("paymentorder.`Status` <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanColumn(PaymentOrder.Column column) {
            addCriterion(new StringBuilder("paymentorder.`Status` < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(Integer value) {
            addCriterion("paymentorder.`Status` <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualToColumn(PaymentOrder.Column column) {
            addCriterion(new StringBuilder("paymentorder.`Status` <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<Integer> values) {
            addCriterion("paymentorder.`Status` in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<Integer> values) {
            addCriterion("paymentorder.`Status` not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(Integer value1, Integer value2) {
            addCriterion("paymentorder.`Status` between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("paymentorder.`Status` not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andDeletedIsNull() {
            addCriterion("paymentorder.Deleted is null");
            return (Criteria) this;
        }

        public Criteria andDeletedIsNotNull() {
            addCriterion("paymentorder.Deleted is not null");
            return (Criteria) this;
        }

        public Criteria andDeletedEqualTo(Boolean value) {
            addCriterion("paymentorder.Deleted =", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedEqualToColumn(PaymentOrder.Column column) {
            addCriterion(new StringBuilder("paymentorder.Deleted = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedNotEqualTo(Boolean value) {
            addCriterion("paymentorder.Deleted <>", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedNotEqualToColumn(PaymentOrder.Column column) {
            addCriterion(new StringBuilder("paymentorder.Deleted <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedGreaterThan(Boolean value) {
            addCriterion("paymentorder.Deleted >", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedGreaterThanColumn(PaymentOrder.Column column) {
            addCriterion(new StringBuilder("paymentorder.Deleted > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedGreaterThanOrEqualTo(Boolean value) {
            addCriterion("paymentorder.Deleted >=", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedGreaterThanOrEqualToColumn(PaymentOrder.Column column) {
            addCriterion(new StringBuilder("paymentorder.Deleted >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedLessThan(Boolean value) {
            addCriterion("paymentorder.Deleted <", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedLessThanColumn(PaymentOrder.Column column) {
            addCriterion(new StringBuilder("paymentorder.Deleted < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedLessThanOrEqualTo(Boolean value) {
            addCriterion("paymentorder.Deleted <=", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedLessThanOrEqualToColumn(PaymentOrder.Column column) {
            addCriterion(new StringBuilder("paymentorder.Deleted <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedIn(List<Boolean> values) {
            addCriterion("paymentorder.Deleted in", values, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedNotIn(List<Boolean> values) {
            addCriterion("paymentorder.Deleted not in", values, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedBetween(Boolean value1, Boolean value2) {
            addCriterion("paymentorder.Deleted between", value1, value2, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedNotBetween(Boolean value1, Boolean value2) {
            addCriterion("paymentorder.Deleted not between", value1, value2, "deleted");
            return (Criteria) this;
        }

        public Criteria andCreateUserIsNull() {
            addCriterion("paymentorder.`CreateUser` is null");
            return (Criteria) this;
        }

        public Criteria andCreateUserIsNotNull() {
            addCriterion("paymentorder.`CreateUser` is not null");
            return (Criteria) this;
        }

        public Criteria andCreateUserEqualTo(String value) {
            addCriterion("paymentorder.`CreateUser` =", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserEqualToColumn(PaymentOrder.Column column) {
            addCriterion(new StringBuilder("paymentorder.`CreateUser` = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserNotEqualTo(String value) {
            addCriterion("paymentorder.`CreateUser` <>", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotEqualToColumn(PaymentOrder.Column column) {
            addCriterion(new StringBuilder("paymentorder.`CreateUser` <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserGreaterThan(String value) {
            addCriterion("paymentorder.`CreateUser` >", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserGreaterThanColumn(PaymentOrder.Column column) {
            addCriterion(new StringBuilder("paymentorder.`CreateUser` > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserGreaterThanOrEqualTo(String value) {
            addCriterion("paymentorder.`CreateUser` >=", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserGreaterThanOrEqualToColumn(PaymentOrder.Column column) {
            addCriterion(new StringBuilder("paymentorder.`CreateUser` >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserLessThan(String value) {
            addCriterion("paymentorder.`CreateUser` <", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserLessThanColumn(PaymentOrder.Column column) {
            addCriterion(new StringBuilder("paymentorder.`CreateUser` < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserLessThanOrEqualTo(String value) {
            addCriterion("paymentorder.`CreateUser` <=", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserLessThanOrEqualToColumn(PaymentOrder.Column column) {
            addCriterion(new StringBuilder("paymentorder.`CreateUser` <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserLike(String value) {
            addCriterion("paymentorder.`CreateUser` like", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotLike(String value) {
            addCriterion("paymentorder.`CreateUser` not like", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserIn(List<String> values) {
            addCriterion("paymentorder.`CreateUser` in", values, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotIn(List<String> values) {
            addCriterion("paymentorder.`CreateUser` not in", values, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserBetween(String value1, String value2) {
            addCriterion("paymentorder.`CreateUser` between", value1, value2, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotBetween(String value1, String value2) {
            addCriterion("paymentorder.`CreateUser` not between", value1, value2, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("paymentorder.CreateTime is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("paymentorder.CreateTime is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("paymentorder.CreateTime =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualToColumn(PaymentOrder.Column column) {
            addCriterion(new StringBuilder("paymentorder.CreateTime = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("paymentorder.CreateTime <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualToColumn(PaymentOrder.Column column) {
            addCriterion(new StringBuilder("paymentorder.CreateTime <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("paymentorder.CreateTime >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanColumn(PaymentOrder.Column column) {
            addCriterion(new StringBuilder("paymentorder.CreateTime > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("paymentorder.CreateTime >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualToColumn(PaymentOrder.Column column) {
            addCriterion(new StringBuilder("paymentorder.CreateTime >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("paymentorder.CreateTime <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanColumn(PaymentOrder.Column column) {
            addCriterion(new StringBuilder("paymentorder.CreateTime < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("paymentorder.CreateTime <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualToColumn(PaymentOrder.Column column) {
            addCriterion(new StringBuilder("paymentorder.CreateTime <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("paymentorder.CreateTime in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("paymentorder.CreateTime not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("paymentorder.CreateTime between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("paymentorder.CreateTime not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIsNull() {
            addCriterion("paymentorder.UpdateUser is null");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIsNotNull() {
            addCriterion("paymentorder.UpdateUser is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateUserEqualTo(String value) {
            addCriterion("paymentorder.UpdateUser =", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserEqualToColumn(PaymentOrder.Column column) {
            addCriterion(new StringBuilder("paymentorder.UpdateUser = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotEqualTo(String value) {
            addCriterion("paymentorder.UpdateUser <>", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotEqualToColumn(PaymentOrder.Column column) {
            addCriterion(new StringBuilder("paymentorder.UpdateUser <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserGreaterThan(String value) {
            addCriterion("paymentorder.UpdateUser >", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserGreaterThanColumn(PaymentOrder.Column column) {
            addCriterion(new StringBuilder("paymentorder.UpdateUser > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserGreaterThanOrEqualTo(String value) {
            addCriterion("paymentorder.UpdateUser >=", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserGreaterThanOrEqualToColumn(PaymentOrder.Column column) {
            addCriterion(new StringBuilder("paymentorder.UpdateUser >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserLessThan(String value) {
            addCriterion("paymentorder.UpdateUser <", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserLessThanColumn(PaymentOrder.Column column) {
            addCriterion(new StringBuilder("paymentorder.UpdateUser < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserLessThanOrEqualTo(String value) {
            addCriterion("paymentorder.UpdateUser <=", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserLessThanOrEqualToColumn(PaymentOrder.Column column) {
            addCriterion(new StringBuilder("paymentorder.UpdateUser <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserLike(String value) {
            addCriterion("paymentorder.UpdateUser like", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotLike(String value) {
            addCriterion("paymentorder.UpdateUser not like", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIn(List<String> values) {
            addCriterion("paymentorder.UpdateUser in", values, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotIn(List<String> values) {
            addCriterion("paymentorder.UpdateUser not in", values, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserBetween(String value1, String value2) {
            addCriterion("paymentorder.UpdateUser between", value1, value2, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotBetween(String value1, String value2) {
            addCriterion("paymentorder.UpdateUser not between", value1, value2, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("paymentorder.UpdateTime is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("paymentorder.UpdateTime is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("paymentorder.UpdateTime =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualToColumn(PaymentOrder.Column column) {
            addCriterion(new StringBuilder("paymentorder.UpdateTime = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("paymentorder.UpdateTime <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualToColumn(PaymentOrder.Column column) {
            addCriterion(new StringBuilder("paymentorder.UpdateTime <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("paymentorder.UpdateTime >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanColumn(PaymentOrder.Column column) {
            addCriterion(new StringBuilder("paymentorder.UpdateTime > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("paymentorder.UpdateTime >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualToColumn(PaymentOrder.Column column) {
            addCriterion(new StringBuilder("paymentorder.UpdateTime >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("paymentorder.UpdateTime <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanColumn(PaymentOrder.Column column) {
            addCriterion(new StringBuilder("paymentorder.UpdateTime < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("paymentorder.UpdateTime <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualToColumn(PaymentOrder.Column column) {
            addCriterion(new StringBuilder("paymentorder.UpdateTime <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("paymentorder.UpdateTime in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("paymentorder.UpdateTime not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("paymentorder.UpdateTime between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("paymentorder.UpdateTime not between", value1, value2, "updateTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {
        private PaymentOrderExample example;

        protected Criteria(PaymentOrderExample example) {
            super();
            this.example = example;
        }

        public PaymentOrderExample example() {
            return this.example;
        }

        @Deprecated
        public Criteria andIf(boolean ifAdd, ICriteriaAdd add) {
            if (ifAdd) {
                add.add(this);
            }
            return this;
        }

        public Criteria when(boolean condition, ICriteriaWhen then) {
            if (condition) {
                then.criteria(this);
            }
            return this;
        }

        public Criteria when(boolean condition, ICriteriaWhen then, ICriteriaWhen otherwise) {
            if (condition) {
                then.criteria(this);
            } else {
                otherwise.criteria(this);
            }
            return this;
        }

        public Criteria andLogicalDeleted(boolean deleted) {
            return deleted ? andDeletedEqualTo(PaymentOrder.Deleted.IS_DELETED.value()) : andDeletedNotEqualTo(PaymentOrder.Deleted.IS_DELETED.value());
        }

        @Deprecated
        public interface ICriteriaAdd {
            Criteria add(Criteria add);
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }

    public interface ICriteriaWhen {
        void criteria(Criteria criteria);
    }

    public interface IExampleWhen {
        void example(com.ecoolex.chinadutyfree.retailer.entity.PaymentOrderExample example);
    }
}